//
// Created by Administrator on 2019/12/09.
//

#include "MyStack2.h"

void MyStack2::push(const int & a) {
    elems.push_back(a);
}

int MyStack2::pop() const{
    return elems.back();
}
